﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ZhangBY.Entity
{
    /// <summary>
    /// 分类信息
    /// </summary>
    [Serializable]
    public class ConClassInfo
    {
        private int id = 0;
        private int num = 0;
        private int classPid = 0;
        private short classChildCount = 0;
        private short classLeaf = 0;
        private string className = null;
        private string classPath = null;
        private string classKey = null;
        private string classDescp = null;
        private string classParentName = null;
        private string classEdit = null;
        private string classAddChild = null;
        private string classFullName = null;
        private string classText = null;

        /// <summary>
        /// 分类文本
        /// </summary>
        public string ClassText
        {
            get { return classText; }
            set { classText = value; }
        }
        /// <summary>
        /// 编辑
        /// </summary>
        public string ClassEdit
        {
            get { return classEdit; }
            set { classEdit = value; }
        }
        /// <summary>
        /// 添加子节点
        /// </summary>
        public string ClassAddChild
        {
            get { return classAddChild; }
            set { classAddChild = value; }
        }
        /// <summary>
        /// 分类名
        /// </summary>
        public string ClassName
        {
            get { return className; }
            set { className = value; }
        }
        /// <summary>
        /// 分类ID
        /// </summary>
        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        /// <summary>
        /// 分类父ID
        /// </summary>
        public int ClassPid
        {
            get { return classPid; }
            set { classPid = value; }
        }

        /// <summary>
        /// 子节点数
        /// </summary>
        public short ClassChildCount
        {
            get { return classChildCount; }
            set { classChildCount = value; }
        }
        /// <summary>
        /// 节点层次
        /// </summary>
        public short ClassLeaf
        {
            get { return classLeaf; }
            set { classLeaf = value; }
        }
        /// <summary>
        /// 分类路径
        /// </summary>
        public string ClassPath
        {
            get { return classPath; }
            set { classPath = value; }
        }
        /// <summary>
        /// 节点关键字
        /// </summary>
        public string ClassKey
        {
            get { return classKey; }
            set { classKey = value; }
        }
        /// <summary>
        /// 节点描述
        /// </summary>
        public string ClassDescp
        {
            get { return classDescp; }
            set { classDescp = value; }
        }

        /// <summary>
        /// 所属分类
        /// </summary>
        public string ClassParentName
        {
            get { return classParentName; }
            set { classParentName = value; }
        }

        /// <summary>
        /// 序号
        /// </summary>
        public int Num
        {
            get { return num; }
            set { num = value; }
        }
        /// <summary>
        /// 完整分类名父级与子级用'/'隔开
        /// </summary>
        public string ClassFullName
        {
            get { return classFullName; }
            set { classFullName = value; }
        }
    }
}
